import 'package:pigeon/pigeon.dart';

@ConfigurePigeon(PigeonOptions(
  dartOut: './business_boost/lib/bridge/boost_bridge.dart',
  dartOptions: DartOptions(),
  javaOut: './android/app/src/main/kotlin/com/sleepingcat/flutter_boost_dart/pigeons/BoostBridge.java',
  javaOptions: JavaOptions(),
  objcHeaderOut: './ios/Runner/Pigeons/BoostBridge.h',
  objcSourceOut: './ios/Runner/Pigeons/BoostBridge.m',
))
@HostApi()
abstract class BoostHostApi {
  void showNativeTransparentDialog(String flutterRoute);
}

@FlutterApi()
abstract class BoostFlutterApi {
  void showFlutterTransparentDialog(bool useActivityAsContainer);

  void jumpToBoostMainPage();

  @async
  Map<String, Object> jumpToBoostMainPageAndReturnValue();
}
